//这是用来测试多态的狗类
public class Dog extends Animal {

    public Dog(String name, int age) {
        super(name, age);
    }

    public void wangWang(){
        System.out.println(name + " 正在汪汪 ");
    }
    public void eat() {
        System.out.println(name + " 正在吃狗粮 ");
    }
}
